popover: Update scrollable on relative-to hierarchy changes
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 28 Sep 2016 17:56:49 +0000 (19:56 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 29 Sep 2016 10:46:34 +0000 (12:46 +0200)
commit769ee1156de0cb2b4528e56234315848fc73acc8
treec0430d9edafe2cf7f3e9f04785d8ffec86eda9dd
parent588a1dce2b1fb97acb8304799a7711fa62d0a2aa
popover: Update scrollable on relative-to hierarchy changes

The relative-to widget may be reparented itself into/out of a
scrollable. In this cases make the hierachy-changed handler to
unset the parent scrollable when unparented, and look up again
the parent scrollable after it's reparented.

https://bugzilla.gnome.org/show_bug.cgi?id=771812
gtk/gtkpopover.c